package com.bjx.flow.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.bjx.flow.domain.entity.FlowDesignEntity;
import com.bjx.flow.domain.query.FlowDesignQuery;
import com.bjx.flow.domain.vo.FlowDesignVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @desc: 流程设计Mapper
 * @author: liushuai
 * @date: 2022/10/24
 */
@Mapper
public interface FlowDesignMapper extends BaseMapper<FlowDesignEntity> {
    /**
     * 分页查询流程设计
     * @param page
     * @param flowDesignQuery
     * @return: IPage<FlowDesignVO>
     * @Author: liushuai
     * @Date: 2022/10/24
     */
    IPage<FlowDesignVO> listFlowDesignPage(Page page,@Param("query") FlowDesignQuery flowDesignQuery);
}
